/* 统一风格 - 订单详情页 */
.order-detail {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 20px;
}

.order-info,
.shipping-info,
.order-items {
    margin-bottom: 30px;
}

.order-info h2,
.shipping-info h2,
.order-items h2 {
    font-size: 1.25rem;
    color: #212529;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
}

.info-row {
    display: flex;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f1f1;
}

.info-row span:first-child {
    width: 120px;
    font-weight: 500;
    color: #495057;
}

.order-items table {
    width: 100%;
    margin-top: 15px;
    border-collapse: collapse;
}

.order-items th,
.order-items td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.order-items th {
    font-weight: 600;
    background-color: #f8f9fa;
}

.order-item {
    display: flex;
    align-items: center;
}

.order-item img {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    object-fit: cover;
    border-radius: 4px;
}

.order-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.btn-primary {
    background-color: #0d6efd;
    color: white;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
}

.btn-success {
    background-color: #198754;
    color: white;
}

#shippingForm {
    margin-top: 20px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #495057;
}

.form-control {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

select.form-control {
    height: calc(2.25rem + 2px);
}

.back-btn {
    padding: 0.5rem 1rem;
    background-color: #6c757d;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .info-row {
        flex-direction: column;
    }

    .info-row span:first-child {
        width: 100%;
        margin-bottom: 5px;
    }
}